﻿@using EasyUIMvc
@{
    ViewBag.Title = "WindowBase";
}

<h2>WindowBase</h2>
@Html.EasyUI().WindowBase(settings =>
                      {
                          settings.Id = "windowbase";
                          settings.Title = "Window Sample";
                          settings.DataOptions = "iconCls:'icon-save',modal:true";
                          settings.Style = "width:600px;height:400px;padding:5px";
                      }).Content("jQuery EasyUI framework help you build your web page easily").GetHtml()

<button onclick="$('#windowbase').window('open')">Kiểm tra cửa sổ</button>